package com.bf.electroplating.pojo.vo.pollution;

import com.bf.electroplating.pojo.vo.attachment.AttachmentVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 排污许可VO
 */
@Data
@Schema(description = "排污许可VO")
public class PollutionPermitVO {
    
    @Schema(description = "ID")
    private String id;
    
    @Schema(description = "企业ID")
    private String companyId;
    
    @Schema(description = "企业名称")
    private String companyName;
    
    @Schema(description = "到期时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date expiryTime;
    
    @Schema(description = "基本信息")
    private String basicInfo;
    
    @Schema(description = "正本附件")
    private List<AttachmentVo> originalFile;
    
    @Schema(description = "副本附件")
    private List<AttachmentVo> duplicateFile;
    
    @Schema(description = "创建时间")
    private Date createTime;
    
    @Schema(description = "创建人")
    private String createBy;
}